package cn.iocoder.devlop.module.annual.report.forguaranteeinfo.convert;

import cn.iocoder.devlop.framework.common.pojo.PageResult;
import cn.iocoder.devlop.module.annual.report.forguaranteeinfo.controller.vo.ForguaranteeinfoCreateReqVO;
import cn.iocoder.devlop.module.annual.report.forguaranteeinfo.controller.vo.ForguaranteeinfoExcelVO;
import cn.iocoder.devlop.module.annual.report.forguaranteeinfo.controller.vo.ForguaranteeinfoRespVO;
import cn.iocoder.devlop.module.annual.report.forguaranteeinfo.controller.vo.ForguaranteeinfoUpdateReqVO;
import cn.iocoder.devlop.module.annual.report.forguaranteeinfo.dal.dataobject.ForguaranteeinfoDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 企业年报对外提供保证担保信息 Convert
 *
 * @author 超级管理员
 */
@Mapper
public interface ForguaranteeinfoConvert {

    ForguaranteeinfoConvert INSTANCE = Mappers.getMapper(ForguaranteeinfoConvert.class);

    ForguaranteeinfoDO convert(ForguaranteeinfoCreateReqVO bean);

    ForguaranteeinfoDO convert(ForguaranteeinfoUpdateReqVO bean);

    ForguaranteeinfoRespVO convert(ForguaranteeinfoDO bean);

    List<ForguaranteeinfoRespVO> convertList(List<ForguaranteeinfoDO> list);

    List<ForguaranteeinfoDO> convertList01(List<ForguaranteeinfoCreateReqVO> list);

    PageResult<ForguaranteeinfoRespVO> convertPage(PageResult<ForguaranteeinfoDO> page);

    List<ForguaranteeinfoExcelVO> convertList02(List<ForguaranteeinfoDO> list);

    List<ForguaranteeinfoCreateReqVO> convertList3(List<ForguaranteeinfoDO> oldForguaranteeinfoList);
}
